package com.gjy.even;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-08-11 10:29:50
 */
public class EventPublisher {

    private static final Logger log = LoggerFactory.getLogger(EventListener.class);

    List<EventListener> listeners;

    public EventPublisher(List<EventListener> listeners) {
        this.listeners = listeners;
        log.info("listeners {}", listeners);
    }

}
